export interface NursingPlan {
    id?: number
    createTime: string
    updateTime: string
    remark: string
    creator: string
    name: string
    orderNo: number
    unit: string
    price: number
    image: string
    nursingRequirement: string
    status: number
    count: number
}

export interface NursingProject {
    id?: number,
    createTime: string,
    updateTime: string,
    createBy: string,
    updateBy: string,
    remark: string,
    creator: string,
    updater: string,
    sortNo: number,
    planName: string,
    status: number,
    projectPlans: string,
    lid: number,
}


export interface NursingPlanPage {
    total: number
    pageSize: number
    pages: number
    page: number
    records: NursingPlan[]
}

// 护理项目分页响应数据模型
export interface NursingPlanPageResult {
    code: number
    msg: string
    data: NursingPlanPage
}


//护理项目查询所有（数据回显）
export interface NursingPlanListAll {
    code: number,
    msg: string,
    data: NursingProject[]
}

//新增数据中的列表数据模型
export interface NursingProjectPlanVo {
    adminCreator: string
    createBy: string
    createDay: string
    createTime: string
    createType: string
    creator: string
    dataState: string
    executeCycle: string
    executeFrequency: string
    executeTime: string
    id: string
    planId: string
    projectId: string
    projectName: string
    remark: string
    updateBy: string
    updateTime: string
    updater: string
}

//新增的数据模型
export interface AddNursingProjectPlan {
    createBy: string,
    createTime: string,
    creator: string,
    id: number
    lid: number
    planName: string
    projectPlans: NursingProjectPlanVo[],
    remark: string
    sortNo: number,
    status: number,
    updateBy: string,
    updateTime: string,
    updater: string,
}

//新增的数据响应模型
export interface AddNursingProjectPlanResponse {
    code: number,
    msg: string,
    data: string
}

//根据id查询的响应模型
export interface getNursingProjectPlanByIdResponse {
    code: number,
    msg: string,
    data: AddNursingProjectPlan
}
